package org.scs.carleton.ca.pgdt.core.parser.internal.factory;

import org.scs.carleton.ca.pgdt.core.internal.parser.ASTTranslationUnit;
import org.scs.carleton.ca.pgdt.core.internal.parser.ASTVariable;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTNodeTypes;

/**
 * The variableFactory is used to create Variable prolog nodes
 * 
 * @author tessierj
 *
 */
public class VariableFactory {
	private VariableFactory() {
		
	}
	
	public static ASTVariable createVariable(ASTTranslationUnit translationUnit, String name) {
		return new ASTVariable(translationUnit, IASTNodeTypes.VARIABLE, name);
	}
}
